<{include file="public/header.html"}>	
<div class="xinsu-right">
	<div class="xinsu-right-content">
		<div class="xinsu-data-content">
			<div class="xinsu-title">
				<span class="layui-breadcrumb">
					<a><cite>当前位置</cite></a>
					<a><cite>系统配置</cite></a>
				</span>
			</div>
			<form  class="xinsu-form" action="" method="post">
				<form class="xinsu-form">
					<table width="100%">
						<tbody>
							<tr class="xinsu-row-title">
								<td colspan="2">开市和收市时间设定</td>
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">上午开收市时间：</td>
								<td>
									<input type="text" name="open_am_start" lay-verify="required" value="<{$result.open_am_start}>" class="layui-input xinsu-input">
									-
									<input type="text" name="open_am_end" lay-verify="required" value="<{$result.open_am_end}>" class="layui-input xinsu-input">
									<font color="999999">开收市时间设定,允许或禁止买卖股票、委托 (格式例如: 09:30)</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls xinsu-row-border">
								<td class="xinshu-asterisk" align="right" width="200">下午开收市时间：</td>
								<td>
									<input type="text" name="open_pm_start" lay-verify="required" value="<{$result.open_pm_start}>" class="layui-input xinsu-input">
									-
									<input type="text" name="open_pm_end" lay-verify="required" value="<{$result.open_pm_end}>" class="layui-input xinsu-input">
								</td>	
							</tr>
							<tr class="xinsu-row-title">
								<td colspan="2">平仓时间设置</td>
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">上午平仓时间：</td>
								<td>
									<input type="text" name="sell_am_start" lay-verify="required" value="<{$result.sell_am_start}>" class="layui-input xinsu-input">
									-
									<input type="text" name="sell_am_end" lay-verify="required" value="<{$result.sell_am_end}>" class="layui-input xinsu-input">
									<font color="999999">指定时间内允许会员平仓(卖出) (格式例如: 09:30)</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls xinsu-row-border">
								<td class="xinshu-asterisk" align="right" width="200">下午平仓时间：</td>
								<td>
									<input type="text" name="sell_pm_start" lay-verify="required" value="<{$result.sell_pm_start}>" class="layui-input xinsu-input">
									-
									<input type="text" name="sell_pm_end" lay-verify="required" value="<{$result.sell_pm_end}>" class="layui-input xinsu-input">
								</td>	
							</tr>
							<tr class="xinsu-row-title">
								<td colspan="2">提款时间设置</td>
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">上午提款时间：</td>
								<td>
									<input type="text" name="atm_am_start" lay-verify="required" value="<{$result.atm_am_start}>" class="layui-input xinsu-input">
									-
									<input type="text" name="atm_am_end" lay-verify="required" value="<{$result.atm_am_end}>" class="layui-input xinsu-input">
									<font color="999999">指定时间内允许会员提款 (格式例如: 09:30)</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls xinsu-row-border">
								<td class="xinshu-asterisk" align="right" width="200">下午提款时间：</td>
								<td>
									<input type="text" name="atm_pm_start" lay-verify="required" value="<{$result.atm_pm_start}>" class="layui-input xinsu-input">
									-
									<input type="text" name="atm_pm_end" lay-verify="required" value="<{$result.atm_pm_end}>" class="layui-input xinsu-input">
								</td>	
							</tr>
							<tr class="xinsu-row-title">
								<td colspan="2">基本设置</td>
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">尝试登陆次数：</td>
								<td>
									<input type="text" name="try_times" lay-verify="required" value="<{$result.try_times}>" class="layui-input xinsu-input">
									<font color="999999">当用户输入错误密码达到指定次数即锁定用户</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">委托交易数量：</td>
								<td>
									<input type="text" name="trust_num" lay-verify="required" value="<{$result.trust_num}>" class="layui-input xinsu-input">
									<font color="999999">会员委托买卖交易数量,此数值不能太大否则影响前台速度</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">系统维护开关：</td>
								<td>
									<select name="system_switch" lay-filter="aihao">
										<option value="1"  <{if $result.system_switch == 1}>selected="selected"<{/if}>>开启</option>
										<option value="0" <{if $result.system_switch == 0}>selected="selected"<{/if}>>关闭</option>
									</select>
								</td>	
							</tr>
							<tr class="xinsu-row-ls xinsu-row-border">
								<td class="xinshu-asterisk" align="right" width="200">系统维护说明：</td>
								<td>
									<textarea class="layui-textarea" name="system_switch_desc"><{$result.system_switch_desc}></textarea>
									<font color="999999">系统维护时页面显示维护公告 (100字符内)</font>
								</td>	
							</tr>
							<tr class="xinsu-row-title">
								<td colspan="2">账号设置</td>
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">账号限制规则：</td>
								<td>
									<input type="text" name="user_regex" lay-verify="required" value="<{$result.user_regex}>" class="layui-input xinsu-input1">
									<font color="999999">新建用户时只能包含的字符和符号.</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">代理商账户：</td>
								<td>
									上级账号的
									<input type="text" name="agent_prefix" lay-verify="required" value="<{$result.agent_prefix}>" class="layui-input xinsu-input">
									位，输入
									<input type="text" name="agent_min" lay-verify="required" value="<{$result.agent_min}>" class="layui-input xinsu-input">
									-
									<input type="text" name="agent_max" lay-verify="required" value="<{$result.agent_max}>" class="layui-input xinsu-input">
									位
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">会员账号：</td>
								<td>
									上级账号的
									<input type="text" name="user_prefix" lay-verify="required" value="<{$result.user_prefix}>" class="layui-input xinsu-input">
									位，输入
									<input type="text" name="user_min" lay-verify="required" value="<{$result.user_min}>" class="layui-input xinsu-input">
									-
									<input type="text" name="user_max" lay-verify="required" value="<{$result.user_max}>" class="layui-input xinsu-input">
									位
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">密码限制：</td>
								<td>
									<input type="text" name="min_password" lay-verify="required" value="<{$result.min_password}>" class="layui-input xinsu-input">
									-
									<input type="text" name="max_password" lay-verify="required" value="<{$result.max_password}>" class="layui-input xinsu-input">
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">名称限制：</td>
								<td>
									<input type="text" name="min_realname" lay-verify="required" value="<{$result.min_realname}>" class="layui-input xinsu-input">
									-
									<input type="text" name="max_realname" lay-verify="required" value="<{$result.max_realname}>" class="layui-input xinsu-input">
								</td>
							</tr>
							<tr class="xinsu-row-ls xinsu-row-border">
								<td class="xinshu-asterisk" align="right" width="200">Ssssion时间：</td>
								<td>
									<select name="cookie_length" lay-filter="aihao">
										<option value="1" <{if $result.system_switch == 1}>selected="selected"<{/if}>>1小时</option>
										<option value="8" <{if $result.system_switch == 8}>selected="selected"<{/if}>>5小时</option>
										<option value="16" <{if $result.system_switch == 16}>selected="selected"<{/if}>>12小时</option>
										<option value="24" <{if $result.system_switch == 24}>selected="selected"<{/if}>>24小时</option>
									</select>
									<font color="999999">这里的时间是用户登陆保持时间,超出这个时间无动作则自动踢出.</font>
								</td>	
							</tr>
							<tr class="xinsu-row-title">
								<td colspan="2">费用限制</td>
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">买入手续费：</td>
								<td>
									<input type="text" name="bull_cost" lay-verify="required" value="<{$result.bull_cost}>" class="layui-input xinsu-input1">
									<font color="999999">设置买入手续费最大限制</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">卖出手续费：</td>
								<td>
									<input type="text" name="sell_cost" lay-verify="required" value="<{$result.sell_cost}>" class="layui-input xinsu-input1">
									<font color="999999">设置卖出手续费最大限制</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">印花税：</td>
								<td>
									<input type="text" name="stamp" lay-verify="required" value="<{$result.stamp}>" class="layui-input xinsu-input1">
									<font color="999999">设置卖出成交额的千1,买入免收</font>
								</td>	
							</tr>
							
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">管理费:</td>
								<td>
									<input type="text" name="manage_cost" lay-verify="required" value="<{$result.manage_cost}>" class="layui-input xinsu-input1">
									<font color="999999">卖出时针对002或者300开头小股票</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">留仓费:</td>
								<td>
									<input type="text" name="save_cost" lay-verify="required" value="<{$result.save_cost}>" class="layui-input xinsu-input1">
									<font color="999999">设置留仓利息</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">最长留仓：</td>
								<td>
									
									<input type="text" name="save_day" lay-verify="required" value="<{$result.save_day}>" class="layui-input xinsu-input">
									天
									<font color="999999">设置留仓最大天数</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">最小卖出时间：</td>
								<td>
									<input type="text" name="sell_min_time" lay-verify="required" value="<{$result.sell_min_time}>" class="layui-input xinsu-input1">
									分钟
									<font color="999999">买入股票后间隔多少时间可以卖出</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">融券最小卖出时间：</td>
								<td>
									<input type="text" name="r_sell_min_time" lay-verify="required" value="<{$result.r_sell_min_time}>" class="layui-input xinsu-input1">
									分钟
									<font color="999999">买入股票后间隔多少时间可以卖出</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">规定时间内卖出加收手续费：</td>
								<td>
									<input type="text" name="cost_sell_limit" lay-verify="required" value="<{$result.cost_sell_limit}>" class="layui-input xinsu-input1">
									<font color="999999">在最小卖出时间内卖出股票加收手续费(如:0.2=20%)</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">留仓节假日：</td>
								<td>
									<select name="rest_filter" lay-filter="aihao">
										<option value="0" <{if $result.rest_filter == 0}>  selected=""<{/if}> >不计算留仓费</option>
										<option value="1" <{if $result.rest_filter == 1}>  selected=""<{/if}>>计算</option>
									</select>
									<font color="999999">该配置项未使用，保留备用</font>
								</td>	
							</tr>
							
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">升跌买入限制：</td>
								<td>
									升跌
									<input type="text" name="bull_range_limit" lay-verify="required" value="<{$result.bull_range_limit}>" class="layui-input xinsu-input">
									%不许买入
								</td>	
							</tr>
							
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">成交额设置：</td>
								<td>
									<input type="text" name="turnover_min" lay-verify="required" value="<{$result.turnover_min}>" class="layui-input xinsu-input1">
									万	
									<font color="999999">当成交额小于设定值后禁止买入</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls xinsu-row-border">
								<td class="xinshu-asterisk" align="right" width="200">最低充值额度：</td>
								<td>
									<input type="text" name="min_money" lay-verify="required" value="<{$result.min_money}>" class="layui-input xinsu-input1">
									万	
									<font color="999999">必须为整数.</font>
								</td>	
							</tr>
							<tr class="xinsu-row-title">
								<td colspan="2">其他设置</td>
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">最小买入股数：</td>
								<td>
									<input type="text" name="num_min" lay-verify="required" value="<{$result.num_min}>" class="layui-input xinsu-input1">
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">最大买入股数：</td>
								<td>
									<input type="text" name="num_max" lay-verify="required" value="<{$result.num_max}>" class="layui-input xinsu-input1">
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">人民币与股币兑换：</td>
								<td>
									1人民币=
									<input type="text" name="cost_exchange_rate" lay-verify="required" value="<{$result.cost_exchange_rate}>" class="layui-input xinsu-input">
									股币
									<font color="999999">建议数值在1-100之间</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">单股可用额度百分比：</td>
								<td>
									<input type="text" name="money_percent" lay-verify="required" value="<{$result.money_percent}>" class="layui-input xinsu-input1">
									%	
									<font color="999999">百分比数值，在1-100之间</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">单笔额度限额：</td>
								<td>
									<input type="text" name="money_max" lay-verify="required" value="<{$result.money_max}>" class="layui-input xinsu-input1">
									<font color="999999">必须为整数</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">单股持仓总额：</td>
								<td>
									<input type="text" name="total_max" lay-verify="required" value="<{$result.total_max}>" class="layui-input xinsu-input1">
									<font color="999999">必须为整数</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">最高可用额度限制：</td>
								<td>
									<input type="text" name="max_can_use" lay-verify="required" value="<{$result.max_can_use}>" class="layui-input xinsu-input1">
									<font color="999999">必须为整数</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">保证金预警：</td>
								<td>
									当可用保证金低于
									<input type="text" name="lower_cash" lay-verify="required" value="<{$result.lower_cash}>" class="layui-input xinsu-input">
									时提示客户	
									<font color="999999">建议数值在0-200之间</font>
								</td>	
							</tr>
							
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">会员爆仓百分比：</td>
								<td>
									<input type="text" name="baocang_precent" lay-verify="required" value="<{$result.baocang_precent}>" class="layui-input xinsu-input1">
									<font color="999999">会员亏损达到保证金的该百分比时,将爆仓</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">单次买入限制间隔：</td>
								<td>
									<input type="text" name="buy_limit_interval" lay-verify="required" value="<{$result.buy_limit_interval}>" class="layui-input xinsu-input1">
									<font color="999999">会员每次买入时间限制间隔(秒)</font>
								</td>	
							</tr>
							<tr class="xinsu-row-ls">
								<td class="xinshu-asterisk" align="right" width="200">单次卖出限制间隔：</td>
								<td>
									<input type="text" name="sell_limit_interval" lay-verify="required" value="<{$result.sell_limit_interval}>" class="layui-input xinsu-input1">
									<font color="999999">会员每次卖出时间限制间隔(秒)</font>
								</td>	
							</tr>
						</tbody>
					</table>
					<button class="layui-btn xinsu-btn xinsu-btn3">保存设置</button>
				</form>

			</form>
		</div>
	</div>
</div>
<{include file="public/footer.html"}>